package com.ruoyi.system.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "订单信息")
@Data
public class BdmOrdersUploadDto implements Serializable {

    @ApiModelProperty(value = "店铺编号")
    private Integer shop_id;

    @ApiModelProperty(value = "自研商城系统订单号")
    private String so_id;

    @ApiModelProperty(value = "订单日期")
    private String order_date;

    @ApiModelProperty(value = "订单状态 等待卖家发货=WAIT_SELLER_SEND_GOODS（传此状态时实际支付金额即pay节点支付金额=应付金额ERP才会显示已付款待审核）")
    private String shop_status = "WAIT_SELLER_SEND_GOODS";

    @ApiModelProperty(value = "买家帐号")
    private String shop_buyer_id;

    @ApiModelProperty(value = "详细收货地址")
    private String receiver_address;

    @ApiModelProperty(value = "收件人")
    private String receiver_name;

    @ApiModelProperty(value = "联系电话")
    private String receiver_phone;

    @ApiModelProperty(value = "应付金额 保留两位小数，单位元")
    private BigDecimal pay_amount;

    @ApiModelProperty(value = "运费")
    private Integer freight;

    @ApiModelProperty(value = "买家留言")
    private String buyer_message;

    @ApiModelProperty(value = "商品明细")
    private List<BdmOrderItemsDto>items;

    @ApiModelProperty(value = "支付信息")
    private BdmPayDto pay;

}




